function Page(totalPage) {
	this.currentPage = 1;
	this.totalPage = totalPage;
	
	this.genPageHtml = function(callbackName) {
		var result = "";
		
		result += '<div id="div_page" align="right" style="margin-right: 40px; margin-top: 7px;">';
		result += '	<img id="page_pre" class="pointer fade_effect" src="../image/icon_previous.png" align="middle" onclick="' + callbackName + '(' + Math.max(1, this.currentPage - 1) + ');"/>';
		for(var i = 1; i <= this.totalPage; i++) {
			if (this.currentPage == i) {
				result += '	<b>' + i + '</b>';
			} else {
				result += '	<span class="pointer" onclick="' + callbackName + '(' + i + ');">' + i + '</span>';
			}
		}
		result += '	<img id="page_next" class="pointer fade_effect" src="../image/icon_next.png" alt="" align="middle" onclick="' + callbackName + '(' + Math.min(this.totalPage, this.currentPage + 1) + ');"/>';
		result += '</div>';
		return result;
	};
}